package com.atguigu.controller;

public class Demo {
    public final String name;

    {
        System.out.println(22222);
    }
    public Demo(String name){
        this.name = name;
        System.out.println(1111);
    }

    @Override
    public String toString() {
        return "Demo{" +
                "name='" + name + '\'' +
                '}';
    }
}
